package linknode;

public class LinkNode {
    public int data;
    public LinkNode next;
    public LinkNode(int data)
    {
        this.data = data;
    }
    public LinkNode()
    {
        this.data = 0;
    }
    public LinkNode(int data, LinkNode next)
    {
        this.data = data;
        this.next = next;
    }

}
